import {createWebHistory, createRouter} from 'vue-router'

import HomeView from "../pages/home/HomeView.vue"
import LoginView from "../pages/login/LoginView.vue"

const routes = [
    {path: '/', name: '', component: HomeView},
    {path: '/login', name: 'login', component: LoginView},
]

const router = createRouter({
    history: createWebHistory(),
    routes,
})

export default router
